package com.naiterui.ehp.bs.patient.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import org.springframework.data.domain.Page;
import com.naiterui.ehp.bp.domain.NoticeMessage;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * @author luao
 * @date 2021/3/9 7:36 下午
 **/
public interface INoticeMessageRepository extends BaseJpaRepository<NoticeMessage, Long> {
    Page<NoticeMessage> findByTypeAndDelFlagOrderByReleaseTimeDescCreatedAtDesc(Integer type, Integer delFlag, Pageable pageable);
}
